package cn.itcast.crm.service.impl;

import cn.itcast.crm.dao.CustomerDao;
import cn.itcast.crm.domain.CstCustomer;
import cn.itcast.crm.service.CustomerService;

public class CustomerServiceImpl implements CustomerService {
	
	//注入dao
	private CustomerDao customerDao;
	
	

	public CustomerDao getCustomerDao() {
		return customerDao;
	}

	public void setCustomerDao(CustomerDao customerDao) {
		this.customerDao = customerDao;
	}

	

	public CstCustomer findCustomerById(Long custId) {
		
		return customerDao.findCustomerById(custId);
	}

	

}
